package com.lkhd.manage.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "`volunteer`")
public class Volunteer implements Serializable{
    @Id
    @Column(name = "`volunteerId`")
    private Long volunteerid;

    @Column(name = "`jobId`")
    private Long jobid;

    @Column(name = "`message`")
    private String message;

    /**
     * 	是否可用   0可用 	1不可用 （用户自己设置）
     */
    @Column(name = "`active`")
    private Integer active;

    /**
     * -1冻结  0正在审核 1通过 
     */
    @Column(name = "`status`")
    private Integer status;

    /**
     * 负责活动场数
     */
    @Column(name = "`activityNum`")
    private Integer activitynum;

    /**
     	* 好评度 评价超过三星好评度加1
     */
    @Column(name = "`gradeNum`")
    private Integer gradenum;

    @Column(name = "`createDate`",insertable=false)
    private Date createdate;

    @Column(name = "`updataDate`",updatable=false)
    private Date updatadate;

    /**
     * @return volunteerId
     */
    public Long getVolunteerid() {
        return volunteerid;
    }

    /**
     * @param volunteerid
     */
    public void setVolunteerid(Long volunteerid) {
        this.volunteerid = volunteerid;
    }

    /**
     * @return jobId
     */
    public Long getJobid() {
        return jobid;
    }

    /**
     * @param jobid
     */
    public void setJobid(Long jobid) {
        this.jobid = jobid;
    }

    /**
     * @return message
     */
    public String getMessage() {
        return message;
    }

    /**
     * @param message
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * 获取是否可用
     *
     * @return active - 是否可用
     */
    public Integer getActive() {
        return active;
    }

    /**
     * 设置是否可用
     *
     * @param active 是否可用
     */
    public void setActive(Integer active) {
        this.active = active;
    }

    /**
     * 获取-2冻结 -1 正在审核 1通过 
     *
     * @return status - -2冻结 -1 正在审核 1通过 
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置-2冻结 -1 正在审核 1通过 
     *
     * @param status -2冻结 -1 正在审核 1通过 
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取负责活动场数
     *
     * @return activityNum - 负责活动场数
     */
    public Integer getActivitynum() {
        return activitynum;
    }

    /**
     * 设置负责活动场数
     *
     * @param activitynum 负责活动场数
     */
    public void setActivitynum(Integer activitynum) {
        this.activitynum = activitynum;
    }

    /**
     * 获取好评度 评价超过三星好评度加1
     *
     * @return gradeNum - 好评度 评价超过三星好评度加1
     */
    public Integer getGradenum() {
        return gradenum;
    }

    /**
     * 设置好评度 评价超过三星好评度加1
     *
     * @param gradenum 好评度 评价超过三星好评度加1
     */
    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    /**
     * @return createDate
     */
    public Date getCreatedate() {
        return createdate;
    }

    /**
     * @param createdate
     */
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    /**
     * @return updataDate
     */
    public Date getUpdatadate() {
        return updatadate;
    }

    /**
     * @param updatadate
     */
    public void setUpdatadate(Date updatadate) {
        this.updatadate = updatadate;
    }
}